<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>公告详情</title>

    <style>
        /* 右侧内容区域 */
        .index-content {
            position: relative;
            margin-left: 222px;
            margin-top: -783px;
            padding: 20px;
            min-height: 86vh;
            z-index: 1;
        }

        .index-content::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url("img/rightbg.jpg");
            background-size: cover;
            opacity: 0.3;
            z-index: -1;
        }
        /* 操作区域标题 */
        .index-content-operation .info-detail {
            font-size: 30px;
            font-weight: bold;
            font-family: youyuan;
            color: #333;
        }

        /* 表单容器样式 */
        form {
            width: 100%;
            max-width: 420px;
            margin: 0 30px;
            padding: 20px;
            background-color: #ffefc5;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            text-align: right;
        }

        /* 表格样式 */
        .index-content-table-add {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 20px;
        }

        /* 表格行和单元格样式 */
        .index-content-table-add tr {
            background-color: #fff;
            border-bottom: 1px dashed #ababab;
        }

        .index-content-table-add td {
            padding: 12px;
            text-align: left;
            font-size: 18px;
            color: #333;
        }

        /* 字体加粗 */
        .index-content-table-add b {
            color: #7c381c;
            font-weight: bold;
        }

        /* 返回按钮样式 */
        button {
            display: inline-block;
            padding: 8px 16px;
            font-size: 18px;
            font-weight: bold;
            background-color: #504d4d;
            color: #fff;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        /* 按钮悬停效果 */
        button:hover {
            background-color: #333333;
        }

        /* 按钮:焦点 */
        button:focus {
            outline: none;
        }

        /* 按钮:禁用状态 */
        button:disabled {
            background-color: #ccc;
            cursor: not-allowed;
        }
    </style>

</head>
<body>
<jsp:include page="menu.jsp"/>
<div class="index-content">
    <div class="index-content-operation">
        <a class="info-detail"> >> 公告详情</a>
        <br>
        <br>
    </div>
    <br>
    <form>
        <table class="index-content-table-add" style="font-size: 18px;">
            <tr>
                <td>标题：<b>${vo.noticeName}</b></td>
            </tr>
            <tr>
                <td>内容：<b>${vo.noticeText}</b></td>
            </tr>
            <tr>
                <td>类型：<b>${vo.noticeType}</b></td>
            </tr>
            <tr>
                <td>创建时间：<b>${vo.createDate}</b></td>
            </tr>
        </table>
        <br>
        <button type="button" class="btn btn-line btn-primary btn-sm" onclick="javascript:history.back(-1);">返 回</button>
    </form>
</div>
</body>
</html>
